<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        a {
            text-decoration: none;
        }
        
        li {
            list-style: none;
        }
        
        .box {
            position: relative;
            width: 721px;
            height: 455px;
            background-color: pink;
            margin: 100px auto;
            overflow: hidden;
        }
        
        .box ul {
            position: absolute;
            top: 0;
            left: 0;
            width: 500%;
            height: 100%;
        }
        
        .box ul li {
            float: left;
        }
        
        .arrow-l {
            display: none;
            position: absolute;
            top: 50%;
            color: #ccc;
            font-size: 30px;
            background-color: black;
            opacity: .1;
            z-index: 1;
        }
        
        .arrow-r {
            display: none;
            position: absolute;
            top: 50%;
            right: 0;
            color: #ccc;
            font-size: 30px;
            background-color: black;
            opacity: .1;
            z-index: 1;
        }
        
        .circle {
            position: absolute;
            bottom: 10px;
            left: 50px;
        }
        
        .circle li {
            float: left;
            width: 8px;
            height: 8px;
            /* background-color: #fff; */
            border: 2px solid rgba(255, 255, 255, 0.5);
            margin: 0 3px;
            border-radius: 50%;
            cursor: pointer;
        }
        
        .current {
            background-color: #fff;
        }
    </style>
    <!--  //anmiate写在上面 因为index.js依赖与她 -->
    <script src="js/animate.js"></script>
    <script src="js/index.js"></script>
</head>

<body>
    <div class="box">
        <!-- 左侧按钮 -->
        <a href="javascript:;" class="arrow-l">
            &lt;
         </a>
        <!-- 右侧按钮 -->
        <a href="javascript:;" class="arrow-r"> &gt; </a>
        <!-- 核心的滚动区域 -->
        <ul class="img">
            <li>
                <a href="#"><img src="images/focus.jpg" alt=""></a>
            </li>
            <li>
                <a href="#"><img src="images/focus1.jpg" alt=""></a>
            </li>
            <li>
                <a href="#"><img src="images/focus2.jpg" alt=""></a>
            </li>
            <li>
                <a href="#"><img src="images/focus3.jpg" alt=""></a>
            </li>
        </ul>
        <!-- 小圆圈 -->
        <ol class="circle">
        </ol>
    </div>
</body>

</html>